package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.CourseInfoDto;
import com.xuecheng.content.model.dto.CoursePreviewDto;
import com.xuecheng.content.model.po.CoursePublish;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程发布 服务类
 * </p>
 *
 * @author itcast
 * @since 2025-05-21
 */
public interface CoursePublishService extends IService<CoursePublish> {

    CourseInfoDto selectCourseBaseInfo(String courseId);

    CoursePreviewDto getCoursePreviewInfo(Long courseId);

    void commitAudit(Long courseId, Long companyId);

    void publish(Long courseId, long l);

    CoursePublish getCoursePublish(Long courseId);
}
